package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 廉政谈话记录
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_TALK_RECORD")
public class IgTalkRecord extends Model<IgTalkRecord> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("TALK_RECORD_ID")
    private String talkRecordId;

    /**
     * 人员ID
     */
    @TableField("EMP_ID")
    private String empId;

    /**
     * 谈话类型
     */
    @TableField("TALK_TYPE")
    private String talkType;

    /**
     * 时间
     */
    @TableField("TALK_DATE")
    private LocalDateTime talkDate;

    /**
     * 地点
     */
    @TableField("TALK_ADDRESS")
    private String talkAddress;

    /**
     * 谈话人姓名1
     */
    @TableField("TALK_PERSON1")
    private String talkPerson1;

    /**
     * 谈话人单位职务1
     */
    @TableField("TALK_PERSON_POSITION1")
    private String talkPersonPosition1;

    /**
     * 谈话人姓名2
     */
    @TableField("TALK_PERSON2")
    private String talkPerson2;

    /**
     * 谈话人单位职务2
     */
    @TableField("TALK_PERSON_POSITION2")
    private String talkPersonPosition2;

    /**
     * 记录人
     */
    @TableField("NOTE_TAKER")
    private String noteTaker;

    /**
     * 谈话原因
     */
    @TableField("REASON")
    private String reason;

    /**
     * 谈话内容
     */
    @TableField("CONTENT")
    private String content;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;

    /**
     * 修改人
     */
    @TableField("EDIT_OP")
    private String editOp;

    /**
     * 修改时间
     */
    @TableField("EDIT_DATE")
    private LocalDateTime editDate;


    public String getTalkRecordId() {
        return talkRecordId;
    }

    public IgTalkRecord setTalkRecordId(String talkRecordId) {
        this.talkRecordId = talkRecordId;
        return this;
    }

    public String getEmpId() {
        return empId;
    }

    public IgTalkRecord setEmpId(String empId) {
        this.empId = empId;
        return this;
    }

    public String getTalkType() {
        return talkType;
    }

    public IgTalkRecord setTalkType(String talkType) {
        this.talkType = talkType;
        return this;
    }

    public LocalDateTime getTalkDate() {
        return talkDate;
    }

    public IgTalkRecord setTalkDate(LocalDateTime talkDate) {
        this.talkDate = talkDate;
        return this;
    }

    public String getTalkAddress() {
        return talkAddress;
    }

    public IgTalkRecord setTalkAddress(String talkAddress) {
        this.talkAddress = talkAddress;
        return this;
    }

    public String getTalkPerson1() {
        return talkPerson1;
    }

    public IgTalkRecord setTalkPerson1(String talkPerson1) {
        this.talkPerson1 = talkPerson1;
        return this;
    }

    public String getTalkPersonPosition1() {
        return talkPersonPosition1;
    }

    public IgTalkRecord setTalkPersonPosition1(String talkPersonPosition1) {
        this.talkPersonPosition1 = talkPersonPosition1;
        return this;
    }

    public String getTalkPerson2() {
        return talkPerson2;
    }

    public IgTalkRecord setTalkPerson2(String talkPerson2) {
        this.talkPerson2 = talkPerson2;
        return this;
    }

    public String getTalkPersonPosition2() {
        return talkPersonPosition2;
    }

    public IgTalkRecord setTalkPersonPosition2(String talkPersonPosition2) {
        this.talkPersonPosition2 = talkPersonPosition2;
        return this;
    }

    public String getNoteTaker() {
        return noteTaker;
    }

    public IgTalkRecord setNoteTaker(String noteTaker) {
        this.noteTaker = noteTaker;
        return this;
    }

    public String getReason() {
        return reason;
    }

    public IgTalkRecord setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getContent() {
        return content;
    }

    public IgTalkRecord setContent(String content) {
        this.content = content;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgTalkRecord setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgTalkRecord setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getEditOp() {
        return editOp;
    }

    public IgTalkRecord setEditOp(String editOp) {
        this.editOp = editOp;
        return this;
    }

    public LocalDateTime getEditDate() {
        return editDate;
    }

    public IgTalkRecord setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.talkRecordId;
    }

    @Override
    public String toString() {
        return "IgTalkRecord{" +
        "talkRecordId=" + talkRecordId +
        ", empId=" + empId +
        ", talkType=" + talkType +
        ", talkDate=" + talkDate +
        ", talkAddress=" + talkAddress +
        ", talkPerson1=" + talkPerson1 +
        ", talkPersonPosition1=" + talkPersonPosition1 +
        ", talkPerson2=" + talkPerson2 +
        ", talkPersonPosition2=" + talkPersonPosition2 +
        ", noteTaker=" + noteTaker +
        ", reason=" + reason +
        ", content=" + content +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        ", editOp=" + editOp +
        ", editDate=" + editDate +
        "}";
    }
}
